using System;
using OrderManager.Domain.Entities;

namespace OrderManager.Domain.Repositories
{
    /// <summary>
    /// Defines a method that some type implements to manipulate repository entities
    /// </summary>
    public interface ICustomerRepository : IRepositoryBase<Customer>
    {
        /// <summary>
        /// Create an entity in repository with specified name and address
        /// </summary>
        /// <param name="name">Name value of creating entity</param>
        /// <param name="adress">Address value of creating entity</param>
        /// <returns><see cref="OrderManager.Domain.Entities.Customer"/> instance</returns>
        Customer Create(String name, String adress);
    }
}